
@include('Home.head')
<style>
    .am-header-title a{
        color: #ffffff;
    }
    .am-navbar-nav a .am-navbar-label{
        font-size: 14px;
        margin-top: 6px;
    }
    .am-navbar{
        height: 60px;
    }
    .row {margin-bottom: .25rem;}
    .row > .cell-6 {
        width: 50%;
        padding: 2px 5px 5px 5px;
    }
    .row, .column {

        display: flex;
        margin: -.25rem -.25rem 0;
        margin-bottom: 0px;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-align-items: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
        -webkit-align-content: stretch;
        -ms-flex-line-pack: stretch;
        align-content: stretch;
        -webkit-flex: auto;
        -ms-flex: auto;
        flex: auto;
    }

    .row, .column {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        margin: -.25rem -.25rem 0;
        margin-bottom: 0px;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-align-items: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
        -webkit-align-content: stretch;
        -ms-flex-line-pack: stretch;
        align-content: stretch;
        -webkit-flex: auto;
        -ms-flex: auto;
        flex: auto;
    }

    .wai {
        background-color: rgba(48,149,244,1.00);
        color: #000;
        text-align: center;
        border-radius: 5px;
        height: 75px;
        line-height: 25px;
        padding-top: 15px;
        background-image: url('/img/home/user/bg_2.png');
        background-size: cover;
        background-size: 100%;
    }

    .wai b {font-size:20px;color:red;}




    .am-btn.am-radius {
        border-radius: 2px;
        height: 100px;
        line-height: 75px;
        font-size: 20px;
    }
</style>
<body>
<div class="container" id="app">
    @include('Home.member.header')
    <div class="am-cf cart-panel">


            {{--<div class="withdrawals-panel">--}}
        @if(session('home_user')->straight_shop_isdown == 1)
        {{--<div class="am-form-group">--}}
            {{--<p class="am-text-right"  v-on:click="zshops('z')" ><a class="am-btn am-btn-danger am-show-sm-only am-btn-sm am-radius">直商城</a></p>--}}
        {{--</div>--}}
        @endif
        <div class="am-form-group">
           <p class="am-text-right" v-on:click="zshop1()"><a class="am-btn am-btn-success am-show-sm-only am-btn-sm am-radius" style="border-radius: 50px; height: 50px; line-height: 25px;">代理区域</a></p>
        </div>
        @if(session('home_user')->isdown == 1)
        <div class="am-form-group">
            <p class="am-text-right" v-on:click="zshop2()"><a class="am-btn am-btn-success am-show-sm-only am-btn-sm am-radius" style="border-radius: 50px; height: 50px; line-height: 25px;">代理合伙人</a></p>
        </div>
            {{--</div>--}}
       @endif









        {{--<div class="cart-panel">--}}
            {{--<div class="row">--}}
                {{--<div class="cell-6 q"><div class="tile bg3 rounded wai shadow-1"><b>@{{ MemberList.performance1 }}</b><br>A区总业绩</div></div>--}}
                {{--<div class="cell-6 q"><div class="tile bg3 rounded wai shadow-1"><b>@{{ MemberList.performance2 }}</b><br>B区总业绩</div></div>--}}
                {{--<div class="cell-6 q"><div class="tile bg3 rounded wai shadow-1"><b>@{{ MemberList.credit1 }}</b><br>电子币</div></div>--}}
                {{--<div class="cell-6 q"><div class="tile bg3 rounded wai shadow-1"><b>@{{ MemberList.credit4 }}</b><br>积分</div></div>--}}
                {{--<div class="cell-6 q"><div class="tile bg3 rounded wai shadow-1"><b>@{{ MemberList.credit2 }}</b><br>奖金币</div></div>--}}
                {{--<div class="cell-6 q"><div class="tile bg3 rounded wai shadow-1"><b>@{{ MemberList.credit3 }}</b><br>复投币</div></div>--}}
                {{--<div class="cell-6 q"><div class="tile bg3 rounded wai shadow-1" ><b>@{{ MemberList.userStatus }}</b><br>账户状态</div></div>--}}
                {{--<div class="cell-6">--}}
                    {{--<div class="tile bg3 rounded wai shadow-1" ><b>@{{ MemberList.level_name }}</b><br>级别</div>--}}
                {{--</div>--}}
            {{--</div>--}}
        {{--</div>--}}

    </div>

    @include('Home.foot')
</div>
</body>
<script>
    var app = new Vue({
        el: "#app",
        data: {
            title: '代理管理',
            MemberList:[]
        },
        methods: {
            //初始化 系统管理员列表
            initialize: function () {
                {{--$.post("/home/member/dofinance", {'_token': '{{csrf_token()}}',class:'zshop'}, function (res) {--}}
                    {{--if (res.code) {--}}
                        {{--app.MemberList = res.data;--}}
                    {{--} else {--}}
                        {{--layer.msg(res.data);--}}
                    {{--}--}}
                {{--});--}}
            },

            zshops:function(e){
                // console.log(e);
                location.href = '/home/member/financeDetail?type='+e;
                {{--$.post("/home/member/dofinance", {'_token': '{{csrf_token()}}',class:'zshop'}, function (res) {--}}
                    {{--if (res.code) {--}}
                        {{--app.MemberList = res.data;--}}
                    {{--} else {--}}
                        {{--layer.msg(res.data);--}}
                    {{--}--}}
                {{--});--}}
            },
			 zshop1:function(){
				 location.href = '/home/member/agent'
				 },
			zshop2:function(){
				location.href = '/home/timeShop/total'
				 }
        },
        //自动执行
        mounted: function () {
            this.initialize();
        },
    })
</script>

</html>
